import 'package:flutter/cupertino.dart';

class ScreenSizeUtils{
  ScreenSizeUtils._();


  static double deviceScreenWidth(BuildContext context){
    MediaQueryData queryData = MediaQuery.of(context);
    double screenWidth = queryData.size.width;
    return screenWidth;
  }

  static double deviceScreenHeight(BuildContext context){
    MediaQueryData queryData = MediaQuery.of(context);
    double screenHeight = queryData.size.height;
    return screenHeight;
  }

  static double safeStatusScreenHeight(BuildContext context) {
    MediaQueryData queryData = MediaQuery.of(context);
    double screenHeight = queryData.padding.top;
    return screenHeight;
  }

  static double safeBottomScreenHeight(BuildContext context) {
    MediaQueryData queryData = MediaQuery.of(context);
    double screenHeight = queryData.padding.bottom;
    return screenHeight;
  }

}